package by.kniazhych.core.events {
	
	/**
	 * ...
	 * @author Boutylin Mikhail
	 */
	
		import by.vaukalak.core.events.BaseEvent;
	

	
	public class ApplicationEvent extends BaseEvent{
		private var _frameToNavigate:String;
		
		/**
		 * dispatch when the frame is changed
		 */
		
		public static const FRAME_CHANGED:String = "frameChanged";
		
		public function ApplicationEvent(type:String, frameToNavigate:String, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			_frameToNavigate = frameToNavigate;
			
		}
		
		public function get frameToNavigate():String { return _frameToNavigate; }
		
	}

}